package com.gopay.common.domain.cps.gp;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author zhangzg
 * @date 2015-5-15 上午10:58:29
 * www.gopay.com.cn Inc.All rights reserved.
 */

@Entity
@Table(name = "Identification_bank_card")
public class CpsGpIdentificationBankInfo implements java.io.Serializable{
	
	
	private static final long serialVersionUID = 1L;
	private int transDtlSq;
	private String merId;
    private String merOrderId;
    private String merTxnCd;
    
    private String merURL;//后台返回Url
    private String bankCode;//银行类型
    private String acctType;//银行卡类型
    private String phone;//银行绑定手机
    private String certType;//证件类型
    private String certNo;//证件号
    private String acctName;//持卡人姓名
    private String acctNum;//卡号
    private String acctValty;//信用卡有效期
    private String acctCvv;//cvv2码
    private Date merTxnTm;
    private String respCode;
    private String orderId;
    private String transLaunchIp;
	private String merRemark3;
    private String merRemark1;
    private String merRemark2;
    private String merRemark4;
    private String merRemark5;
    
    private String description;
    
    @Id
    @SequenceGenerator(name = "PgGenQueryTransDtlSequence", sequenceName = "AUTH_BANK_CARD")
    @GeneratedValue(generator = "PgGenQueryTransDtlSequence", strategy = GenerationType.SEQUENCE)
	@Column(name = "TRANS_DTL_SQ", unique = true, nullable = false)
	public int getTransDtlSq() {
		return transDtlSq;
	}
	public void setTransDtlSq(int transDtlSq) {
		this.transDtlSq = transDtlSq;
	}
	
	@Column(name = "MERCHANTID", nullable = false, length = 10)
	public String getMerId() {
		return merId;
	}
	public void setMerId(String merId) {
		this.merId = merId;
	}
	
	@Column(name = "MERORDERNUM", nullable = false, length = 10)
	public String getMerOrderId() {
		return merOrderId;
	}
	public void setMerOrderId(String merOrderId) {
		this.merOrderId = merOrderId;
	}
	
	@Column(name = "MER_TXN_CD", nullable = false, length = 10)
	public String getMerTxnCd() {
		return merTxnCd;
	}
	public void setMerTxnCd(String merTxnCd) {
		this.merTxnCd = merTxnCd;
	}
	
	@Column(name = "MER_URL",length = 500)
	public String getMerURL() {
		return merURL;
	}
	
	
	public void setMerURL(String merURL) {
		this.merURL = merURL;
	}
	
	@Column(name = "BANK_CODE",length = 10)
	public String getBankCode() {
		return bankCode;
	}
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
	
	
	@Column(name = "ACC_TYPE", length = 1)
	public String getAcctType() {
		return acctType;
	}
	public void setAcctType(String acctType) {
		this.acctType = acctType;
	}
	
	@Column(name = "PHONE",length = 11)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Column(name = "CERT_TYPE",length = 1)
	public String getCertType() {
		return certType;
	}
	public void setCertType(String certType) {
		this.certType = certType;
	}
	
	@Column(name = "CERT_NO",length = 18)
	public String getCertNo() {
		return certNo;
	}
	public void setCertNo(String certNo) {
		this.certNo = certNo;
	}
	
	@Column(name = "ACC_NAME",length = 100)
	public String getAcctName() {
		return acctName;
	}
	public void setAcctName(String acctName) {
		this.acctName = acctName;
	}
	
	@Column(name = "ACC_NUM",length = 30)
	public String getAcctNum() {
		return acctNum;
	}
	public void setAcctNum(String acctNum) {
		this.acctNum = acctNum;
	}
	
	@Column(name = "ACCT_Valty",  length = 20 )
	public String getAcctValty() {
		return acctValty;
	}
	public void setAcctValty(String acctValty) {
		this.acctValty = acctValty;
	}
	
	@Column(name = "ACCT_CVV",  length = 20)
	public String getAcctCvv() {
		return acctCvv;
	}
	public void setAcctCvv(String acctCvv) {
		this.acctCvv = acctCvv;
	}
	
	
	@Column(name = "TRAN_DATETIME")
	public Date getMerTxnTm() {
		return merTxnTm;
	}
	public void setMerTxnTm(Date merTxnTm) {
		this.merTxnTm = merTxnTm;
	}
	
	
	@Column(name = "RSP_CODE", nullable = false, length = 4)
	public String getRespCode() {
		return respCode;
	}
	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}
	
	
	
	@Column(name = "orderId", length =100 )
	public String getOrderId() {
		return orderId;
	}		
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	 @Column(name = "TRANS_LAUNCH_IP", nullable = false, length = 50)
	  public String getTransLaunchIp() {
			return transLaunchIp;
		}
		public void setTransLaunchIp(String transLaunchIp) {
			this.transLaunchIp = transLaunchIp;
		}
	 @Column(name = "MER_REMARK3", length = 500)
	    public String getMerRemark3() {
	        return this.merRemark3;
	    }

	    public void setMerRemark3(String merRemark3) {
	        this.merRemark3 = merRemark3;
	    }

	    @Column(name = "MER_REMARK1", length = 500)
	    public String getMerRemark1() {
	        return this.merRemark1;
	    }

	    public void setMerRemark1(String merRemark1) {
	        this.merRemark1 = merRemark1;
	    }

	    @Column(name = "MER_REMARK2", length = 500)
	    public String getMerRemark2() {
	        return this.merRemark2;
	    }

	    public void setMerRemark2(String merRemark2) {
	        this.merRemark2 = merRemark2;
	    }

	    @Column(name = "MER_REMARK4", length = 500)
	    public String getMerRemark4() {
	        return this.merRemark4;
	    }

	    public void setMerRemark4(String merRemark4) {
	        this.merRemark4 = merRemark4;
	    }

	    @Column(name = "MER_REMARK5", length = 500)
	    public String getMerRemark5() {
	        return this.merRemark5;
	    }

	    public void setMerRemark5(String merRemark5) {
	        this.merRemark5 = merRemark5;
	    }

	
	
	@Column(name = "description",length = 100)
	public String getDescription() {
			return description;
	}
	public void setDescription(String description) {
			this.description = description;
	}
    
    
}
